﻿using System;
using SEAM.Data;

/// <summary>
/// Summary description for PersonObject
/// </summary>
public class PersonObject
{

    [Bind("EmployeeID")]
    protected int _id;
    protected string _last;
    protected string _first;

    public int ID
    {
        get { return _id; }
    }

    [Bind("FirstName")]
    public string First
    {
        get { return _first; }
        set { _first = value; }
    }

    [Bind("LastName")]
    public string Last
    {
        get { return _last; }
        set { _last = value; }
    }

    public PersonObject() { }

    public PersonObject(int id, string first, string last)
    {
        _id = id;
        First = first;
        Last = last;
    }
}
